<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>
        /* 
             continue (继续) 跳出本次循环
             break （打破） 跳出整个循环
        */
        // 逢7过。（十位和个位不能是7）
        for (let i = 0; i < 100; i++) {
            if (i % 7 == 0 || i % 10 == 7) {
                console.log(i + '的个位或者十位是 7');
                // break
                continue;
            }
            console.log('此时i是' + i);
        }
        console.log('-----------over---------')
    </script>
</body>

</html>